package com.example.emos.api.service;

import com.example.emos.api.common.util.PageUtils;
import com.example.emos.api.db.pojo.TbMeeting;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * @author: LC
 * @date 2022/3/29 14:37
 * @ClassName: MeetingService
 */
public interface MeetingService {

    public PageUtils searchOfflineMeetingByPage(HashMap param);

    public int insert(TbMeeting tbMeeting);

    public ArrayList<HashMap> searchOfflineMeetingInWeek(HashMap param);

    public HashMap searchMeetingInfo(short status, long id);

    public int deleteMeetingApplication(HashMap param);

    public PageUtils searchOnlineMeetingByPage(HashMap param);

    public Long searchRoomIdByUUID(String uuid);

    public ArrayList<HashMap> searchOnlineMeetingMembers(HashMap param);

    public boolean searchCanCheckinMeeting(HashMap param);

    public int updateMeetingPresent(HashMap param);


    public HashMap searchMeetingByInstanceId(String instanceId);

    public HashMap searchMeetingByUUID(String uuid);


    public List<String> searchUserMeetingInMonth(HashMap param);

    public void updateMeetingStatus(HashMap param);

    public ArrayList<Integer> searchMeetingUnpresent(String uuid);

    public int updateMeetingUnpresent(HashMap param);

}
